package com.elai.tags.domain;

import com.elai.common.annotation.Excel;
import com.elai.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.List;

/**
 * 画像组件对象 base_user_portrait_compents
 * 
 * @author elai
 * @date 2022-03-14
 */
public class BaseUserPortraitCompents extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 画像ID */
    private Long portraitId;

    /** ID */
    private Long id;

    /** 组件名称 */
    @Excel(name = "组件名称")
    private String componentName;

    /** 画像类型 */
    @Excel(name = "画像类型")
    private String portraitType;

    /** 时间粒度 */
    @Excel(name = "时间粒度")
    private String dateUnit;

    /** 图表类型 */
    @Excel(name = "图表类型")
    private String chartType;

    /** 查询参数 */
    @Excel(name = "查询参数")
    private String queryRule;

    /** 排序 */
    @Excel(name = "排序")
    private Long sortNo;

    /** 参数1 */
    @Excel(name = "参数1")
    private String paramField1;

    /** 参数2 */
    @Excel(name = "参数2")
    private String paramField2;

    /** 参数3 */
    @Excel(name = "参数3")
    private String paramField3;

    /** 参数4 */
    @Excel(name = "参数4")
    private String paramField4;

    private List<Object> xdata;
    private List<Object> ydata;
    private List<Object> zdata;

    //对照组数据
    private List<Object> xdata1;
    private List<Object> ydata1;
    private List<Object> zdata1;

    public List<Object> getXdata() {
        return xdata;
    }

    public void setXdata(List<Object> xdata) {
        this.xdata = xdata;
    }

    public List<Object> getYdata() {
        return ydata;
    }

    public void setYdata(List<Object> ydata) {
        this.ydata = ydata;
    }

    public List<Object> getZdata() {
        return zdata;
    }

    public void setZdata(List<Object> zdata) {
        this.zdata = zdata;
    }

    public void setPortraitId(Long portraitId)
    {
        this.portraitId = portraitId;
    }

    public Long getPortraitId() 
    {
        return portraitId;
    }
    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setComponentName(String componentName) 
    {
        this.componentName = componentName;
    }

    public String getComponentName() 
    {
        return componentName;
    }
    public void setPortraitType(String portraitType) 
    {
        this.portraitType = portraitType;
    }

    public String getPortraitType() 
    {
        return portraitType;
    }
    public void setDateUnit(String dateUnit) 
    {
        this.dateUnit = dateUnit;
    }

    public String getDateUnit() 
    {
        return dateUnit;
    }
    public void setChartType(String chartType) 
    {
        this.chartType = chartType;
    }

    public String getChartType() 
    {
        return chartType;
    }
    public void setQueryRule(String queryRule) 
    {
        this.queryRule = queryRule;
    }

    public String getQueryRule() 
    {
        return queryRule;
    }
    public void setSortNo(Long sortNo) 
    {
        this.sortNo = sortNo;
    }

    public Long getSortNo() 
    {
        return sortNo;
    }
    public void setParamField1(String paramField1) 
    {
        this.paramField1 = paramField1;
    }

    public String getParamField1() 
    {
        return paramField1;
    }
    public void setParamField2(String paramField2) 
    {
        this.paramField2 = paramField2;
    }

    public String getParamField2() 
    {
        return paramField2;
    }
    public void setParamField3(String paramField3) 
    {
        this.paramField3 = paramField3;
    }

    public String getParamField3() 
    {
        return paramField3;
    }
    public void setParamField4(String paramField4) 
    {
        this.paramField4 = paramField4;
    }

    public String getParamField4() 
    {
        return paramField4;
    }

    public List<Object> getXdata1() {
        return xdata1;
    }

    public void setXdata1(List<Object> xdata1) {
        this.xdata1 = xdata1;
    }

    public List<Object> getYdata1() {
        return ydata1;
    }

    public void setYdata1(List<Object> ydata1) {
        this.ydata1 = ydata1;
    }

    public List<Object> getZdata1() {
        return zdata1;
    }

    public void setZdata1(List<Object> zdata1) {
        this.zdata1 = zdata1;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("portraitId", getPortraitId())
            .append("id", getId())
            .append("componentName", getComponentName())
            .append("portraitType", getPortraitType())
            .append("remark", getRemark())
            .append("dateUnit", getDateUnit())
            .append("chartType", getChartType())
            .append("queryRule", getQueryRule())
            .append("sortNo", getSortNo())
            .append("paramField1", getParamField1())
            .append("paramField2", getParamField2())
            .append("paramField3", getParamField3())
            .append("paramField4", getParamField4())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .toString();
    }
}
